package com.techfengs.chapter03;

public class IntDetail {
  public static void main (String[] args) {
    // Java的整型常量默认为int类型
    // 声明long类型常量需后加'l'或'L'
    int n1 = 1;
    // 4个字节
    System.out.println(n1);
    long n2 = 1L;
    // 8个字节
    System.out.println(n2);
  }
}
